package com.yc.chatroom.server.pojo;

public class SessionInfo {

	/**
	 * 用户id
	 */
	private Integer userId;

	/**
	 * 用户账号
	 */
	private String userAccount;

	/**
	 * 用户名称
	 */
	private String userName;
	
	/**
	 * 登录状态
	 */
	private LoginStatus loginStatus;
	
	/**
	 * 状态变更时间
	 */
	private Long statusModifyTime;

	public SessionInfo() {
		super();
	}
	
	public SessionInfo(Integer userId, String userAccount, String userName, LoginStatus loginStatus,
			Long statusModifyTime) {
		super();
		this.userId = userId;
		this.userAccount = userAccount;
		this.userName = userName;
		this.loginStatus = loginStatus;
		this.statusModifyTime = statusModifyTime;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public LoginStatus getLoginStatus() {
		return loginStatus;
	}

	public void setLoginStatus(LoginStatus loginStatus) {
		this.loginStatus = loginStatus;
	}

	public Long getStatusModifyTime() {
		return statusModifyTime;
	}

	public void setStatusModifyTime(Long statusModifyTime) {
		this.statusModifyTime = statusModifyTime;
	}

	
}
